package com.maistars.spider.service.store;

import com.maistars.spider.common.exception.TopicSpiderException;

import java.util.List;

/**
 * @author dhr
 * @date 2021/9/5 下午11:56
 */
public interface ExtractedFieldStore {
    public void writeColumnNames(List<String> columnNames) throws TopicSpiderException;

    public void writeRecords(String url, List<String> records) throws TopicSpiderException;

    public void writeErrorUrls(String url, String errorMsg) throws TopicSpiderException;
}
